#ifndef CLIONQT5WORK_QDIALOGBUTTONBOXPROS_H
#define CLIONQT5WORK_QDIALOGBUTTONBOXPROS_H
#include <QMainWindow>
#include <QDialogButtonBox>
#include <QPushButton>
class MainWindowQDialogButtonBoxPros : public QMainWindow
{
Q_OBJECT
public:
    MainWindowQDialogButtonBoxPros(QWidget *parent = nullptr);
    ~MainWindowQDialogButtonBoxPros();
private:
    // 声明两个对象
    QDialogButtonBox *dbb;
    QPushButton *pb;

private slots:
    // 声明信号槽
    void dbbpbClicked(QAbstractButton *);
};

#endif //CLIONQT5WORK_QDIALOGBUTTONBOXPROS_H
